#
# Copyright 2013,2016–2019 Alexander Dahl <post@lespocky.de>
#

# paths
@PACKAGE_INIT@
set_and_check(CGI_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@/lib@PROJECT_NAME@")

# targets
get_filename_component(cgi_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
if(NOT TARGET @PROJECT_NAME@::@PROJECT_NAME@)
	include("${cgi_CMAKE_DIR}/@PROJECT_NAME@-targets.cmake")
endif(NOT TARGET @PROJECT_NAME@::@PROJECT_NAME@)
set(CGI_LIBRARIES @PROJECT_NAME@::@PROJECT_NAME@)

# feature summary
include(FeatureSummary)
set_package_properties(@PROJECT_NAME_UC@ PROPERTIES
	DESCRIPTION "@CGI_DESCRIPTION@"
	URL "@CGI_URL@"
)
